import java.io.*;

/**
 * Creat with IntelliJ IDEA
 * Description
 * User: mamba24
 * Date: 2022-09-05
 * Time: 9:01
 * To BE A Better Person-2020-3-2
 */
public class TestDemo10 {
    //PrintWriter
    public static void main(String[] args) {
        try(OutputStream outputStream=new FileOutputStream("test2.txt")){
            PrintWriter printWriter=new PrintWriter(outputStream);
            printWriter.println("hahahah");
        }catch (IOException e){
            e.printStackTrace();
        }
    }
}
